﻿using System;
using System.ComponentModel.Composition;
using System.Linq;
using System.Linq.Expressions;
using ASPItalia.ModelVirtualCasting.Common;
using ASPItalia.ModelVirtualCasting.ObjectModel;
using ASPItalia.ModelVirtualCasting.Parts;

namespace ASPItalia.ModelVirtualCasting.Fake
{
    [Export("UserRoleRepository", typeof(IUserRoleRepository))]
    [PartCreationPolicy(CreationPolicy.NonShared)]
    [RepositoryMetadata(Name = "UserRoleRepository", IsFake = true)]
    public class UserRoleRepository : BaseRepository<IUserRoleRepository>, IUserRoleRepository
    {
        public void InsertOnSubmit(UserRole entity)
        {
        }

        public void Update(UserRole entity)
        {
        }

        public void DeleteOnSubmit(UserRole entity)
        {
        }

        public void SubmitChanges()
        {
        }

        public IQueryable<UserRole> GetAll()
        {
            return null;
        }

        public IQueryable<UserRole> Where(Expression<Func<UserRole, bool>> predicate)
        {
            return null;
        }

        public long Count(Expression<Func<UserRole, bool>> predicate)
        {
            return 0L;
        }

        public IUserRoleRepository EnableLazyLoading()
        {
            return this;
        }

        public IUserRoleRepository DisableLazyLoading()
        {
            return this;
        }

        public IUserRoleRepository Include(string path)
        {
            return this;
        }

				public IUserRoleRepository Include<TProperty>(Expression<Func<UserRole, TProperty>> path)
				{
					return this;
				}

				public IUserRoleRepository CreateQuery()
				{
					return this;
				}

				public IUserRoleRepository DoNotTrack()
				{
					return this;
				}
		}
}
